import { configureStore } from '@reduxjs/toolkit'
import cartSlice from './cart'
import logger from 'redux-logger'
const store = configureStore({
  reducer: {
    cart: cartSlice.reducer
  },
  middleware: (getDefaultMiddleware) => getDefaultMiddleware().concat(logger),
})


export default store